/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.cn.lotary.base.dao;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author jason
 */
public abstract class BaseEMDao<T extends AbstractEntity> extends BaseDao<T> {

    @PersistenceContext(unitName = "basePU")
    private EntityManager em;

    @Override
    protected EntityManager getEntityManager() {
        return em;
    }
}
